package cn.tedu.boot091.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration//添加此注解后 工程启动时会自动加载此配置类
@MapperScan("cn.tedu.boot091.mapper")//Mapper扫描注解，省去了每个Mapper接口都添加
public class MyBatisConfig {

}
